Structs

Functions

Returns number of lines and formatted text. Formatting is done as a 2-step process. Firstly, certain Sway types (like Enums and Structs) are formatted separately in isolation, depending on their type. Secondly, after that, the whole file is formatted/cleaned and checked for smaller things like extra newlines, indentation and similar.